package com.ruoyi.system.coretools;

import com.ruoyi.system.coretools.apple.AppleAuthHelper;
import com.ruoyi.system.coretools.apple.AppleAuthRequest;
import org.springframework.stereotype.Component;

/**
 * 苹果登录工具类
 */
@Component
public class AppleAuthTools {

    //苹果登录后的后台信息认证
    public static String appleVerify(String idTokenString, String userId) throws Exception {

        String openId = AppleAuthHelper.isValid(idTokenString, userId);
        return openId;

    }

}
